package com.netease.nie.dao;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.netease.nie.mapper.NavMapper;
import com.netease.nie.model.ClassifiedNav;
import com.netease.nie.model.NavSetting;

/**
 * 
 * @author KingsHunter
 * @createDate June 29th,2016
 *
 */
@Repository
public class NavDao {

	@Resource
	private NavMapper navMapper;
	
	public NavSetting queryNavSetting() {
		return navMapper.queryNavSetting();
	}
	
	public List<ClassifiedNav> listClassifiedNavByNavSetting(int lineDisplayCount) {
		return navMapper.listClassifiedNavByNavSetting(lineDisplayCount);
	}
}
